﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="uploadfile2.aspx.cs" Inherits="uploadfile2" %>
<%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"  lang="zh-cn">
<head runat="server">
    <title>文件上传</title>
    <base target="_self"/>
     <%--   <link href="css/default.css" rel="stylesheet" type="text/css" />--%>
     <style type="text/css">
		.ProgressBar {
			margin: 0px;
			border: 0px;
			padding: 0px;
			width: 100%;
			height: 2em;
		}
		</style>
<script type="text/javascript">
function closeRefresh()
{
window.opener.document.getElementById('<%=Request.QueryString["pccid"]%>').click();
self.close();
}
</script>
</head>
<body >
    <form id="form1" runat="server">
    <div>
      <table width="100%">
        <tr>
            <td style="height: 24px;" width="100%">
            <input type="button" onclick="closeRefresh()" value="返回" id="Button2"/>
                <%--<asp:Button ID="btnReturn" runat="server" Text="返回" OnClick="btnReturn_Click" Width="88px" />--%></td>
        </tr>
        <tr>
            <td style="height: 1px; background-color: #E3E3E3;">
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="labelUploadContext" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td align="left" style="height: 32px;">
                <Upload:ProgressBar ID="progressBar1" Triggers="btnUpload1 btnUploadMulti"  runat="server" Inline="true" Width="100%" Height="32px">
                    <asp:Label ID="label" runat="server" Text="传输完成：" />
                </Upload:ProgressBar>
            </td>
        </tr>
        <tr>
            <td>
               选择文件： <Upload:InputFile ID="inputFileId1" runat="server" />
                        <asp:Button ID="btnUpload1" runat="server" Text="上传" OnClick="btnUpload1_Click" />
            </td>
        </tr>
        <tr>
            <td align="left" style="height: 24px;">
                 
                    <table style="height: 100px" width="100%">
                        <tr>
                            <td valign="top" align="right">
                             <Upload:MultiFile ID="multiFileId2"  useFlashIfAvailable="true" runat="server">
                               <asp:Button id="multiFileButton" Text="Add File..." Enabled="<%# multiFileId2.Enabled %>" runat="server"/>
			                 </Upload:MultiFile>
                                <br />
                                <br />
                                &nbsp;
                                <asp:Button ID="btnUploadMulti" runat="server" Text="批量上传" OnClick="btnUploadMulti_Click" /></td>
                            <td valign="bottom">
                                &nbsp;</td>
                                 <td valign="bottom">
                                <pre id="uploadPre" runat="server" />
                            </td>
                        </tr>
                       
                    </table>
                
            </td>
        </tr>
        <tr>
            <td style="height: 1px; background-color: #E3E3E3;">
            </td>
        </tr>
        <tr>
            <td style="height: 24px;">
            <input type="button" onclick="closeRefresh()" value="返回" id="Button1"/>
                <%--<asp:Button ID="btnReturn2" runat="server" Text="返回" OnClick="btnReturn_Click" Width="92px" />--%>
                </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
